package com.example.service.impl;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.example.mapper.ICountryDao;
import com.example.pojo.Country;
import com.example.service.CountryService;


@Service
@Transactional
public class CountryServiceImpl implements CountryService{
	
	@Autowired
	ICountryDao countdao;

	@Override
	public Country select() {
		System.out.println("----------------------");
		return countdao.select();	
	}

	@Override
	public Country selectById(int id) {
		return countdao.selectById(id);
	}

}
